<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="stylesheet" href="../css/bootstrap.min.css">
    <title>Bootstrap下拉菜单案例</title>
</head>

<body>
    <div class="container">
        <div class="dropdown pull-right">
            <button class="btn btn-default dropdown-toggle" type="button" data-toggle="dropdown">
                下拉菜单
                <span class="caret"></span>
            </button>
            <ul class="dropdown-menu dropdown-menu-right" role="menu" aria-labelledby="dropdownMenu1">
                <!-- <li role="presentation" class="dropdown-header">大写一到四</li> -->
                <li>
                    <a href="#" role="menuitem">一</a>
                </li>
                <li>
                    <a href="#" role="menuitem">二</a>
                </li>
                <li>
                    <a href="#" role="menuitem">三</a>
                </li>
                <li>
                    <a href="#" role="menuitem">四</a>
                </li>
                <!-- <li role="presentation" class="dropdown-header">小写1到4</li> -->
                <li role="presentation" class="divider"></li>
                <li>
                    <a href="#" role="menuitem">1</a>
                </li>
                <li>
                    <a href="#" role="menuitem">2</a>
                </li>
                <li class="disabled">
                    <a href="#" role="menuitem">3</a>
                </li>
                <li>
                    <a href="#" role="menuitem">4</a>
                </li>
            </ul>

        </div>
    </div>
    <script src="../js/jquery-1.12.4.js"></script>
    <script src="../js/bootstrap.min.js"></script>
</body>

</html>